* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 2vmin;
}

body {

  background-color: #1c0522;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10000;
}

header .logo {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 2px;
}

header ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

header ul li {
  list-style: none;
  margin-left: 20px;
}

header ul li a {
  text-decoration: none;
  font-weight: 600;
  padding: 6px 15px;
  color: #fff;
  border-radius: 20px;
}

header ul li a:hover,
header ul li a.active {
  background: #fff;
  color: #2b1055;
}

p,
img {
  pointer-events: none;
  user-select: none;
}

div {
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.emptybox {
  width: 65rem;
  height: 40rem;
  position: relative;
  margin: 7rem;
  font-family: sans-serif;
  font-size: 8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card {
  position: relative;
  width: 65rem;
  height: 40rem;
  font-family: 'Fraunces', serif;
  background-color: #1b0b36;
  border-radius: 30px;
  color: #5460ca;
  padding: 30px;
  border: 1px solid #faf9fc;
  transition: all .5s ease-in-out;
  overflow: hidden;
  background-image: url(./images/67.png);
  background-position: center;
  background-repeat: no-repeat;
}

.card-hidden {
  display: flex;
  transform: translateY(200%);
  flex-direction: column;
  gap: .5rem;
  transition: transform .5s ease-in, opacity .3s ease-in;
  opacity: 0;
}

.card-border {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border: 5px dashed #ffffff;
  border-radius: 30px;
  z-index: -1;
}

.card:hover {
  transform: translate(-40px, -40px);
  border-color: 2px #12086d;
}

.card:hover .card-hidden {
  transform: translateY(0);
  opacity: 1;
}

.card:hover .title {
  transform: translateY(200%);
}

.card-hidden p {
  color: #fff;
  font-size: 1.7rem;
}

.title {
  position: absolute;
  bottom: 1rem;
  font-weight: 700;
  font-size: 4rem;
  transition: transform .25s ease-out;
}

.title-in {
  font-weight: 700;
  font-size: 4rem;
  color: #fff;
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: 20px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 20px;
  background-color: #29469b;
  color: #090909;
  cursor: pointer;
  transition: background-color .3s ease-in-out;
}

.button:hover {
  background-color: #82c4e0;
}


.scrollbox {
  justify-content: start;
  align-items: start;
  width: 100%;
  overflow: hidden;
}

.scrollbox_container {
  justify-content: start;
  height: 100vh;
  flex-shrink: 0;
}

.scrollbox_container_card {
  position: relative;
  width: 65rem;
  height: 40rem;
  background: rgb(36, 20, 118);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 2rem;
  margin-left: 5rem;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 8rem;
  font-weight: bold;
}

.scrollbox_container_card::before,
.scrollbox_container_card::after {
  position: absolute;
  content: "";
  width: 20%;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: bold;
  background-color: rgb(112, 110, 171);
  transition: all 0.5s;
}

.scrollbox_container_card::before {
  top: 0;
  right: 0;
  border-radius: 0 15px 0 100%;
}

.scrollbox_container_card::after {
  bottom: 0;
  left: 0;
  border-radius: 0 100% 0 15px;
}

.scrollbox_container_card:hover::before,
.scrollbox_container_card:hover:after {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: all 0.5s;
}

.scrollbox_container_card:hover:after {
  content: "Hotel Transylvania";
  font-size: 4rem;
  font-family: 'Fraunces', serif;
  color: rgb(5, 47, 92);
}